home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwchk.dir / 00049_Script_49 < prev    next >
Text File  |  1994-11-15  |  5KB  |  175 lines

  1. on startMovie 
  2.   cursor 4
  3.   global nowFrame, currMM
  4.   global horNess, dialogOn
  5.   set dialogOn = FALSE
  6.   set currMM = "FLWWW"
  7.   set horNess = "h"
  8.   puppetSprite 22, TRUE
  9.   puppetSprite 23, TRUE
  10.   puppetSprite 21, TRUE
  11.   puppetSprite 14, TRUE
  12.   puppetSprite 8, TRUE
  13.   set the immediate of sprite 23 to TRUE
  14.   set the stretch of sprite 23 to FALSE
  15.   cursor -1
  16. end startMovie
  17.  
  18. on stepMovie
  19.   global nowFrame,currFrame
  20.   if nowFrame <> currFrame then
  21.     seeAlsoList
  22.     set currFrame = nowFrame
  23.   end if
  24. end stepMovie
  25.  
  26. on stopMovie
  27.   set the castNum of sprite 21 to 1050
  28.   puppetSprite 21, FALSE
  29.   put " " into field "SeeAlsoText"
  30.   updateStage
  31. end stopMovie
  32.  
  33. on saveLocals
  34.   global lastFrame, nowFrame, lastMovie
  35.   set lastMovie = "FLWCHK"
  36.   set lastFrame = nowFrame
  37. end saveLocals
  38.  
  39. on buttonState
  40.   global  bflag, FrankNav, dialogOn
  41.   
  42.   
  43.   if dialogOn = FALSE then
  44.     
  45.     if rollover(15) then
  46.       periodRoll
  47.     else 
  48.       set the locV of sprite 14 to 490
  49.     end if
  50.     
  51.     -- don't check global buttons unless mouse is down at bottom
  52.     if (the mouseV > 200) or (bFlag = TRUE) then
  53.       set bFlag = FALSE
  54.       doState
  55.     end if
  56.   else if dialogOn = TRUE then
  57.     if the mouseDown then 
  58.       if the mouseCast <> the number of cast "glossDialog" then
  59.         beep
  60.       end if
  61.     end if
  62.   end if
  63. end buttonState
  64.  
  65. on chBackStep
  66.   global nowFrame
  67.   unLoadCast 9, 44
  68.   puppetSprite 8, FALSE
  69.   if nowFrame = "ch000bld100°°°" then
  70.     puppetTransition 1, 0, 8
  71.     go to frame "ch000bld099°°°" of movie "FLWCHJ"
  72.   else
  73.     puppetTransition 1, 0, 8
  74.     go marker (-1)
  75.   end if
  76.   puppetSprite 8, TRUE
  77.   updateStage
  78. end chBackStep
  79.  
  80. on chForStep
  81.   global nowFrame
  82.   unLoadCast 9, 44
  83.   puppetSprite 8, FALSE
  84.   if nowFrame = "ch000bld117°°°" then
  85.     puppetTransition 2, 0, 8
  86.     go to frame "ch000bld118°°°" of movie "FLWCHL"
  87.   else
  88.     puppetTransition 2, 0, 8
  89.     go marker (+1)
  90.   end if
  91.   puppetSprite 8, TRUE
  92. end chForStep
  93.  
  94. on textRoll txHt
  95.   global topHat, horNess, dialogOn, seeAlsoBox
  96.   
  97.   if dialogOn = FALSE and seeAlsoBox = FALSE then
  98.     
  99.     set topHat = txHt
  100.     
  101.     if horNess = "ver" then
  102.       if the mouseH < 230 and the mouseV > 366 and the mouseV < 429 then
  103.         set the locV of sprite 8 to txHt
  104.         set the ink of sprite 16 to 8
  105.         set the foreColor of sprite 16 to 215
  106.         set rolledAlready = TRUE
  107.       else if the mouseH > 230 or the mouseV > 429 or the mouseV < topHat then
  108.         set the locV of sprite 8 to 364
  109.         set the ink of sprite 16 to 36
  110.         set the forecolor of sprite 16 to 0
  111.       end if
  112.       set horNess = "h"
  113.     else
  114.       if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  115.         set the locV of sprite 8 to txHt
  116.         set the ink of sprite 16 to 8
  117.         set the foreColor of sprite 16 to 215
  118.         set rolledAlready = TRUE
  119.       else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  120.         set the locV of sprite 8 to 364
  121.         set the ink of sprite 16 to 36
  122.         set the forecolor of sprite 16 to 0
  123.       end if
  124.     end if
  125.     --updateStage
  126.   end if
  127. end textRoll
  128.  
  129. on periodRoll
  130.   global perV, thumbTrack
  131.   put the mouseV - 206 into perV
  132.   put perV / 24 into perV
  133.   if perV = 0 then
  134.     set the locV of sprite 14 to 206
  135.   else if perV = 1 then
  136.     set the locV of sprite 14 to 230
  137.   else if perV = 2 then
  138.     set the locV of sprite 14 to 254
  139.   else if perV = 3 then
  140.     set the locV of sprite 14 to 278
  141.   else if perV = 4 then
  142.     set the locV of sprite 14 to 302
  143.   else if perV = 5 then
  144.     set the locV of sprite 14 to 326
  145.   else if perV = 6 then
  146.     set the locV of sprite 14 to 350
  147.   else if perV = 7 then
  148.     set the locV of sprite 14 to 374
  149.   end if
  150.   updateStage
  151. end periodRoll
  152.  
  153. on goPeriod
  154.   global perV
  155.   puppetSprite 8, FALSE
  156.   if perV = 0 then
  157.     go to frame "ch000bld001°°°" of movie "FLWCHE"
  158.   else if perV = 1 then
  159.     go to frame "ch000bld003°°°" of movie "FLWCHE"
  160.   else if perV = 2 then
  161.     go to frame "ch000bld019°°°" of movie "FLWCHF"
  162.   else if perV = 3 then
  163.     go to frame "ch000bld061°°°" of movie "FLWCHG"
  164.   else if perV = 4 then
  165.     go to frame "ch000bld074°°°" of movie "FLWCHG"
  166.   else if perV = 5 then
  167.     go to frame "ch000bld083°°°" of movie "FLWCHJ"
  168.   else if perV = 6 then
  169.     go to frame "ch000bld100°°°"
  170.     puppetSprite 8, TRUE
  171.   else if perV = 7 then
  172.     go to frame "ch000bld118°°°" of movie "FLWCHL"
  173.   end if
  174.   updateStage
  175. end goPeriod